function [H p q] = meanFilter(imageStruct)

% H: filter transfer function

[H m n] = initFilterSize(imageStruct.image);

H = fspecial('average');

[c d] = size(H);

p = m + c - 1;
q = n + d - 1;


fftStruct = doFFTDim(H, p, q);
H = fftStruct.fftImage;

end